package com.huabo.audit.oracle.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.Set;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@TableName("TBL_REPORTTEMPLE")
@Data
@ApiModel("实体类")
@Accessors(chain = true)
public class TblNbsjPlanFormEntity {
	public final int PFSTATE1 = 1;//已发起审批
    public final int PFSTATE2 = 2;//需调整
    public final int PFSTATE3 = 3;//已通过
    public final int PFSTATE4 = 4;//已终止

    @TableId(value = "pfId", type= IdType.AUTO)
	@ApiModelProperty(value="")
	private BigDecimal pfId;
	
	@TableField(value = "pfYear")
	@ApiModelProperty(value="")
	private int pfYear;
	
	@TableField(value = "pfName")
	@ApiModelProperty(value="")
	private String pfName;
	
	@TableField(value = "pfCost")
	@ApiModelProperty(value="")
	private Double pfCost;
	
	@TableField(value = "pfStarDate")
	@ApiModelProperty(value="")
	private Date pfStarDate;
	
	@TableField(value = "pfEndDate")
	@ApiModelProperty(value="")
	private Date pfEndDate;
	
    @TableField(value = "pfBusiness")
	@ApiModelProperty(value="")
	private String pfBusiness;
    
    @TableField(value = "pfCompanyId")
	@ApiModelProperty(value="")
	private String pfCompanyId;
    
    @TableField(value = "pfRange")
	@ApiModelProperty(value="")
	private String pfRange;
    
    @TableField(value = "pfDesc")
	@ApiModelProperty(value="")
	private String pfDesc;
	
    @TableField(value = "pfStaffid")
	@ApiModelProperty(value="")
	private BigDecimal pfStaffid;
    
    @TableField(value = "pfOption")
	@ApiModelProperty(value="")
	private String pfOption;
    
    @TableField(value = "pfOrganizationDate")
	@ApiModelProperty(value="")
	private Date pfOrganizationDate;
    
    @TableField(value = "pfCreateDate")
	@ApiModelProperty(value="")
	private Date pfCreateDate;
    
    @TableField(value = "pfState")
	@ApiModelProperty(value="")
	private int pfState;
    
    @TableField(value = "pfPlanId")
	@ApiModelProperty(value="")
	private String pfPlanId;
    
    @TableField(value = "tblAttachments")
	@ApiModelProperty(value="")
	private Set<TblAttachment> tblAttachments;
    
}
